package com.itfreer.utils.common;

import android.Manifest;

/**
 * 定义动态权限申请
 */
public class RequestPermissionsUtils {

    // 各种请求权限的回调状态码

    /**
     * 访问本地文件
     */
    public static final Integer ACCESS_LOCAL_FILE = 1;

    /**
     * 访问GPS
     */
    public static final Integer OPEN_GPS = 2;

    /**
     * 读写本地文件
     */
    public static final Integer WRITE_EXTERNAL_STORAGE = 3;

    // 请求内容
    public static final String[] reqPermission = new String[] {
            Manifest.permission.READ_EXTERNAL_STORAGE,
            Manifest.permission.WRITE_EXTERNAL_STORAGE,
            Manifest.permission.ACCESS_FINE_LOCATION,
            Manifest.permission.ACCESS_COARSE_LOCATION};

}
